const Layout = () => import("@/layout/index.vue");
export default {
  path: "/application",
  redirect: "/flow",
  meta: {
    icon: "informationLine",
    title: "应用管理",
    rank: 20
  },
  children: [
    {
      path: "/application/management",
      name: "management",
      component: () => import("@/views/application/index.vue"),
      meta: {
        title: "表单设计"
      }
    },
    {
      path: "/flow",
      name: "flow",
      component: Layout,
      meta: {
        title: "流程管理"
      },
      children: [
        {
          path: "/build",
          name: "build",
          component: () => import("@/views/application/flowbuild.vue"),
          meta: {
            title: "流程配置"
          }
        },
        {
          path: "/build2",
          name: "build2",
          component: () => import("@/views/application/flowbuild.vue"),
          meta: {
            title: "流程配置2"
          }
        }
      ]
    },
    {
      path: "/list/card",
      name: "ListCard",
      component: () => import("@/views/list/card/index.vue"),
      meta: {
        icon: "card",
        title: "应用管理",
        showParent: true
      }
    },
    {
      path: "/menuSetting",
      name: "menuSetting",
      component: () => import("@/views/application/menuSetting.vue"),
      meta: {
        icon: "card",
        title: "菜单设置",
        showParent: true
      }
    },
    {
      path: "/permissionSetting",
      name: "permissionSetting",
      component: () => import("@/views/application/permissionSetting.vue"),
      meta: {
        icon: "card",
        title: "权限设置",
        showParent: true
      }
    }
  ]
} as RouteConfigsTable;
